package com.lxs.demo;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

public interface EdgeInterface {
	
	@RequestMapping(value="/service1/status",method=RequestMethod.GET)
	public String status();
	
	@RequestMapping(value="/service2/status",method=RequestMethod.GET)
	public String status2();
	
	@RequestMapping(value="/circuit/{id}",method=RequestMethod.GET)
	public String circuit(@PathVariable("id")Integer num);
	
	@RequestMapping(value="/services/status",method=RequestMethod.GET)
	public String services();
	
	@RequestMapping(value="/defaultFallback",method=RequestMethod.GET)
	public String defaultFallback();
	
//	@RequestMapping(value="/fallback",method=RequestMethod.GET)
//	public String fallback();
}
